[INFO] cloning repository https://github.com/z2z63/json_parser_toys
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6886ac62aec562559e80eb9c59a8884d50d71958
[INFO] checking z2z63/json_parser_toys against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/z2z63/json_parser_toys
[INFO] finished tweaking git repo https://github.com/z2z63/json_parser_toys
[INFO] tweaked toml for git repo https://github.com/z2z63/json_parser_toys written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/z2z63/json_parser_toys on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/z2z63/json_parser_toys already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 775f6a21868955c5a3e261a2a52c93407b6d799e1c58df715eb78652dd9ba86b
[INFO] running `Command { std: "docker" "start" "-a" "775f6a21868955c5a3e261a2a52c93407b6d799e1c58df715eb78652dd9ba86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "775f6a21868955c5a3e261a2a52c93407b6d799e1c58df715eb78652dd9ba86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "775f6a21868955c5a3e261a2a52c93407b6d799e1c58df715eb78652dd9ba86b", kill_on_drop: false }`
[INFO] [stdout] 775f6a21868955c5a3e261a2a52c93407b6d799e1c58df715eb78652dd9ba86b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aecda2638cfb2ee74b64932eb4808c7f1ccc4b0043b86dd2df8d9f4e40670d5e
[INFO] running `Command { std: "docker" "start" "-a" "aecda2638cfb2ee74b64932eb4808c7f1ccc4b0043b86dd2df8d9f4e40670d5e", kill_on_drop: false }`
[INFO] [stderr]     Checking json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here
[INFO] [stdout]   --> src/json/lr_parser.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LRParser {
[INFO] [stdout]    |      ^^^^^^^^ expected lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: indicate the anonymous lifetime
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LRParser<'_> {
[INFO] [stdout]    |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/json/mod.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/json/table_driven_parser.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |         if (self.value_stack.len() != 1) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 199 -         if (self.value_stack.len() != 1) {
[INFO] [stdout] 199 +         if self.value_stack.len() != 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/json/lr_parser.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Lexer, Result, Value};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/json/mod.rs:75:24
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     if (i < arr.len() - 1) {
[INFO] [stdout]    |                        ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -                     if (i < arr.len() - 1) {
[INFO] [stdout] 75 +                     if i < arr.len() - 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DefiniteParser` and `IndefiniteParser`
[INFO] [stdout]   --> src/main.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use json::{TableDrivenParser, DefiniteParser, IndefiniteParser, Lexer};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0072]: recursive type `Expr` has infinite size
[INFO] [stdout]   --> src/expr/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum Expr {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     Add(Expr, Expr),
[INFO] [stdout]    |         ---- recursive without indirection
[INFO] [stdout]    |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Add(Box<Expr>, Expr),
[INFO] [stdout]    |         ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here
[INFO] [stdout]   --> src/json/lr_parser.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LRParser {
[INFO] [stdout]    |      ^^^^^^^^ expected lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: indicate the anonymous lifetime
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LRParser<'_> {
[INFO] [stdout]    |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/json/mod.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/json/table_driven_parser.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |         if (self.value_stack.len() != 1) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 199 -         if (self.value_stack.len() != 1) {
[INFO] [stdout] 199 +         if self.value_stack.len() != 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/json/lr_parser.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Lexer, Result, Value};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/json/mod.rs:75:24
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     if (i < arr.len() - 1) {
[INFO] [stdout]    |                        ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -                     if (i < arr.len() - 1) {
[INFO] [stdout] 75 +                     if i < arr.len() - 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DefiniteParser` and `IndefiniteParser`
[INFO] [stdout]   --> src/main.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use json::{TableDrivenParser, DefiniteParser, IndefiniteParser, Lexer};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0072]: recursive type `Expr` has infinite size
[INFO] [stdout]   --> src/expr/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum Expr {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     Add(Expr, Expr),
[INFO] [stdout]    |         ---- recursive without indirection
[INFO] [stdout]    |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Add(Box<Expr>, Expr),
[INFO] [stdout]    |         ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/expr/mod.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn parse(&mut self) -> Result<Expr> {}
[INFO] [stdout]    |            -----               ^^^^^^^^^^^^ expected `Result<Expr, String>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<Expr, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/json/table_driven_parser.rs:238:24
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     if let value = self.value_stack.pop().unwrap() {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/expr/mod.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn parse(&mut self) -> Result<Expr> {}
[INFO] [stdout]    |            -----               ^^^^^^^^^^^^ expected `Result<Expr, String>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<Expr, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]   --> src/json/mod.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Value::Array(arr) => self.fmt_array(f, width),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]   --> src/json/mod.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Value::Object(obj) => self.fmt_object(f, width),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::Expr`
[INFO] [stdout]   --> src/expr/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum Expr {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing drop-check constraints for `expr::Expr` again
[INFO] [stdout]    = note: cycle used when computing dropck types for `expr::OPGParser<'_>`
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/json/table_driven_parser.rs:238:24
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     if let value = self.value_stack.pop().unwrap() {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0726.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr`
[INFO] [stdout]   --> src/json/mod.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Value::Array(arr) => self.fmt_array(f, width),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_arr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]   --> src/json/mod.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Value::Object(obj) => self.fmt_object(f, width),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json` (bin "json") due to 4 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::Expr`
[INFO] [stdout]   --> src/expr/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum Expr {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing drop-check constraints for `expr::Expr` again
[INFO] [stdout]    = note: cycle used when computing dropck types for `expr::OPGParser<'_>`
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0726.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json` (bin "json" test) due to 4 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aecda2638cfb2ee74b64932eb4808c7f1ccc4b0043b86dd2df8d9f4e40670d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aecda2638cfb2ee74b64932eb4808c7f1ccc4b0043b86dd2df8d9f4e40670d5e", kill_on_drop: false }`
[INFO] [stdout] aecda2638cfb2ee74b64932eb4808c7f1ccc4b0043b86dd2df8d9f4e40670d5e
